package com.example.bishe.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.bishe.entity.Record;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  标签服务类
 * </p>
 *
 * @author LDH
 * @since 2022/11/30
 */
public interface RecordService extends IService<Record> {

    /**
    * 功能描述: c端用户查询个人标签
    *
    * @Author: LDH
    * @Date: 2023/04/18
    */
    IPage<Record> getPage(int pageNum, int pageSize, Long userId, String title, Integer type, Integer show);

    /**
    * 功能描述: c端用户添加个人标签
    *
    * @Author: LDH
    * @Date: 2023/04/18
    */
    void add(Record record);

    /**
    * 功能描述: 删除标签
    *
    * @Author: LDH
    * @Date: 2023/04/18
    */
    void delete(List<Long> ids);
}
